package day02;

/**
 * @author Jetwang
 * @version 1.0
 * @since 2023/3/13 10:55
 */
public interface Deque<E> {

    boolean offerFirst(E e);

    boolean offerLast(E e);

    E pollFirst();

    E pollLast();

    E peekFirst();

    E peekLast();

    boolean isEmpty();

    boolean isFull();
}
